package com.sdy.resdir.biz.service;

import com.sdy.auth.api.model.UserInfo;
import com.sdy.common.model.BizException;
import com.sdy.resdir.biz.model.RdResourceDirData;
import com.sdy.mvc.service.BaseService;

/**
 * <p>
 * 资源目录-数据源 服务类
 * </p>
 *
 * @author cgj
 * @since 2019-11-22
 */
public interface RdResourceDirDataService extends BaseService<RdResourceDirData> {

    /**
     *
     * 修改或者新增资源编目信息
     *
     * @param dirData
     * @param userInfo
     * @return
     * @throws BizException
     */
    int updateOrSaveDirData(RdResourceDirData dirData, UserInfo userInfo) throws BizException;

}
